You are currently viewing Programming Basics #22 Parameters and Arguments

Programming Basics #22 Parameters and Arguments

  • Post author:
  • Post category:Videos

http://learn-share.net/programming-basics-course/
Programming Course. The Basics of Programming.
#22 Parameters and Arguments

Learn to code.


Has you can see, even if a function returns values, i don’t have to do anything, with the information it’s return. But most of the time, you want to.

And again, if this look very unusable, this is what we are using very earlier, when we called, the prompt function in javascript.

Prompt is a built in java_script function.
He takes in, one argument, in this case a string displayed.

And then what ever return from that, is what we accepted to a variable called, name.

So both passing information in, passing in arguments, to be received has parameters in the function, and returning values.

Its a very core peace in any programming language, and something you will be using all the time.